/** 该文件仅存放演员模块相关的接口API */
import myaxios from "../MyAxios";
// 引入路径前缀
import BASEURL from '../BaseUrl' 
const {QMYBURL} = BASEURL

const doctor = {
  /**
   * 登录接口
   * @param {Object}} params  {username,password}
   */
  select(params:object){
    return myaxios.get(QMYBURL+'/docotr-all/limit',params);
  },
  selectById(params:object){
    return myaxios.post(QMYBURL+'/doctorById',params)
  },
  selectRate(params:object){
    return myaxios.post(QMYBURL+'/doctor-rate',params)
  },
  selectDoctorByType(params:object){
    return myaxios.post(QMYBURL+'/hospital_doctorByd_id',params)
  },
  selectDoctorBydoctorLike(params:object){
    return myaxios.post(QMYBURL+'/doctorLike',params)
  }
}

export default doctor;